.class public Lcom/estrongs/android/ui/preference/fragments/BackupPreferenceFragment;
.super Lcom/estrongs/android/pop/esclasses/ESPreferenceFragment;
.source "BackupPreferenceFragment.java"


# instance fields
.field private a:Landroid/os/Handler;


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/ESPreferenceFragment;-><init>()V

    .line 2
    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/ui/preference/fragments/BackupPreferenceFragment;->a:Landroid/os/Handler;

    return-void
.end method

.method static synthetic a(Landroid/content/DialogInterface;I)V
    .locals 0

    .line 14
    invoke-interface {p0}, Landroid/content/DialogInterface;->dismiss()V

    return-void
.end method

.method static synthetic a(Landroid/widget/EditText;Lcom/estrongs/android/widget/c;Lcom/estrongs/fs/g;)V
    .locals 0

    .line 59
    invoke-interface {p2}, Lcom/estrongs/fs/g;->getPath()Ljava/lang/String;

    move-result-object p2

    .line 60
    invoke-virtual {p0, p2}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 61
    invoke-virtual {p1}, Lcom/estrongs/android/widget/c;->a()V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/widget/c;Landroid/content/DialogInterface;I)V
    .locals 0

    .line 62
    invoke-virtual {p0}, Lcom/estrongs/android/widget/c;->a()V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/widget/c;Landroid/widget/EditText;Landroid/content/DialogInterface;I)V
    .locals 0

    .line 24
    invoke-virtual {p0}, Lcom/estrongs/android/widget/c;->a()V

    .line 25
    invoke-virtual {p0}, Lcom/estrongs/android/widget/c;->g()Ljava/lang/String;

    move-result-object p0

    .line 26
    invoke-virtual {p1, p0}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method static synthetic a(Landroidx/preference/Preference;Ljava/lang/Object;)Z
    .locals 0

    .line 63
    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p0

    invoke-static {p0}, Ljava/lang/Boolean;->parseBoolean(Ljava/lang/String;)Z

    move-result p0

    if-nez p0, :cond_0

    .line 64
    invoke-static {}, Lcom/estrongs/android/pop/view/utils/RemoteSynchronizer;->f()V

    :cond_0
    const/4 p0, 0x1

    return p0
.end method

.method static synthetic a(ZLcom/estrongs/fs/g;)Z
    .locals 3

    .line 55
    invoke-interface {p1}, Lcom/estrongs/fs/g;->i()Lcom/estrongs/fs/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/fs/l;->b()Z

    move-result v0

    const/4 v1, 0x1

    const/4 v2, 0x0

    if-eqz v0, :cond_2

    .line 56
    invoke-interface {p1}, Lcom/estrongs/fs/g;->getName()Ljava/lang/String;

    move-result-object p1

    const-string v0, "."

    invoke-virtual {p1, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_1

    if-eqz p0, :cond_0

    goto :goto_0

    :cond_0
    const/4 v1, 0x0

    :cond_1
    :goto_0
    return v1

    .line 57
    :cond_2
    invoke-interface {p1}, Lcom/estrongs/fs/g;->getName()Ljava/lang/String;

    move-result-object p0

    if-nez p0, :cond_3

    return v2

    .line 58
    :cond_3
    invoke-static {p0}, Lcom/estrongs/android/util/n0;->T(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_4

    const-string p1, "ESSettings"

    invoke-virtual {p0, p1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result p0

    if-eqz p0, :cond_4

    goto :goto_1

    :cond_4
    const/4 v1, 0x0

    :goto_1
    return v1
.end method

.method static synthetic b(Landroid/content/DialogInterface;I)V
    .locals 0

    .line 36
    invoke-interface {p0}, Landroid/content/DialogInterface;->dismiss()V

    return-void
.end method

.method static synthetic b(Lcom/estrongs/android/widget/c;Landroid/content/DialogInterface;I)V
    .locals 0

    .line 22
    invoke-virtual {p0}, Lcom/estrongs/android/widget/c;->a()V

    return-void
.end method

.method static synthetic b(ZLcom/estrongs/fs/g;)Z
    .locals 1

    .line 21
    invoke-interface {p1}, Lcom/estrongs/fs/g;->getName()Ljava/lang/String;

    move-result-object p1

    const-string v0, "."

    invoke-virtual {p1, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_1

    if-eqz p0, :cond_0

    goto :goto_0

    :cond_0
    const/4 p0, 0x0

    goto :goto_1

    :cond_1
    :goto_0
    const/4 p0, 0x1

    :goto_1
    return p0
.end method

.method private d()V
    .locals 2

    const-string v0, "backupsettings"

    .line 1
    invoke-virtual {p0, v0}, Landroidx/preference/PreferenceFragmentCompat;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference;

    move-result-object v0

    .line 2
    new-instance v1, Lcom/estrongs/android/ui/preference/fragments/x;

    invoke-direct {v1, p0}, Lcom/estrongs/android/ui/preference/fragments/x;-><init>(Lcom/estrongs/android/ui/preference/fragments/BackupPreferenceFragment;)V

    invoke-virtual {v0, v1}, Landroidx/preference/Preference;->setOnPreferenceClickListener(Landroidx/preference/Preference$OnPreferenceClickListener;)V

    const-string v0, "restoresettings"

    .line 3
    invoke-virtual {p0, v0}, Landroidx/preference/PreferenceFragmentCompat;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference;

    move-result-object v0

    .line 4
    new-instance v1, Lcom/estrongs/android/ui/preference/fragments/z;

    invoke-direct {v1, p0}, Lcom/estrongs/android/ui/preference/fragments/z;-><init>(Lcom/estrongs/android/ui/preference/fragments/BackupPreferenceFragment;)V

    invoke-virtual {v0, v1}, Landroidx/preference/Preference;->setOnPreferenceClickListener(Landroidx/preference/Preference$OnPreferenceClickListener;)V

    const-string v0, "enableRemoteSynchronizer"

    .line 5
    invoke-virtual {p0, v0}, Landroidx/preference/PreferenceFragmentCompat;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference;

    move-result-object v0

    check-cast v0, Landroidx/preference/CheckBoxPreference;

    .line 6
    sget-object v1, Lcom/estrongs/android/ui/preference/fragments/n;->a:Lcom/estrongs/android/ui/preference/fragments/n;

    invoke-virtual {v0, v1}, Landroidx/preference/Preference;->setOnPreferenceChangeListener(Landroidx/preference/Preference$OnPreferenceChangeListener;)V

    return-void
.end method


# virtual methods
.method public synthetic a(Landroid/widget/EditText;Landroid/view/View;)V
    .locals 4

    .line 46
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object p2

    invoke-virtual {p2}, Lcom/estrongs/android/pop/l;->k1()Z

    move-result p2

    .line 47
    new-instance v0, Lcom/estrongs/android/ui/preference/fragments/q;

    invoke-direct {v0, p2}, Lcom/estrongs/android/ui/preference/fragments/q;-><init>(Z)V

    .line 48
    sget-boolean p2, Lcom/estrongs/android/pop/j;->n:Z

    if-eqz p2, :cond_0

    const/4 p2, -0x2

    goto :goto_0

    :cond_0
    const/4 p2, -0x1

    .line 49
    :goto_0
    new-instance v1, Lcom/estrongs/android/widget/c;

    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v2

    .line 50
    invoke-static {}, Lcom/estrongs/android/pop/c;->b()Ljava/lang/String;

    move-result-object v3

    invoke-direct {v1, v2, v3, v0, p2}, Lcom/estrongs/android/widget/c;-><init>(Landroid/content/Context;Ljava/lang/String;Lcom/estrongs/fs/h;I)V

    const p2, 0x7f11006a

    .line 51
    invoke-virtual {p0, p2}, Landroidx/fragment/app/Fragment;->getText(I)Ljava/lang/CharSequence;

    move-result-object p2

    invoke-virtual {v1, p2}, Lcom/estrongs/android/widget/c;->a(Ljava/lang/CharSequence;)V

    .line 52
    new-instance p2, Lcom/estrongs/android/ui/preference/fragments/w;

    invoke-direct {p2, p1, v1}, Lcom/estrongs/android/ui/preference/fragments/w;-><init>(Landroid/widget/EditText;Lcom/estrongs/android/widget/c;)V

    invoke-virtual {v1, p2}, Lcom/estrongs/android/widget/c;->a(Lcom/estrongs/android/view/FileGridViewWrapper$b0;)V

    const p1, 0x7f110299

    .line 53
    invoke-virtual {p0, p1}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;

    move-result-object p1

    new-instance p2, Lcom/estrongs/android/ui/preference/fragments/u;

    invoke-direct {p2, v1}, Lcom/estrongs/android/ui/preference/fragments/u;-><init>(Lcom/estrongs/android/widget/c;)V

    invoke-virtual {v1, p1, p2}, Lcom/estrongs/android/widget/c;->c(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 54
    invoke-virtual {v1}, Lcom/estrongs/android/widget/c;->n()V

    return-void
.end method

.method public synthetic a(Landroid/widget/EditText;Landroid/widget/EditText;Landroid/content/DialogInterface;I)V
    .locals 1

    .line 1
    invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    .line 2
    invoke-virtual {p2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p2

    invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p2

    .line 3
    new-instance p4, Lcom/estrongs/android/util/l0;

    invoke-direct {p4}, Lcom/estrongs/android/util/l0;-><init>()V

    .line 4
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    invoke-virtual {p4, v0, p1, p2}, Lcom/estrongs/android/util/l0;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)I

    move-result p2

    const/4 p4, 0x1

    if-nez p2, :cond_2

    .line 5
    new-instance p2, Ljava/io/File;

    invoke-direct {p2, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {p2}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object p1

    .line 6
    invoke-static {p1}, Lcom/estrongs/android/util/o0;->b(Ljava/lang/CharSequence;)Z

    move-result p2

    if-eqz p2, :cond_1

    const-string p2, "/"

    .line 7
    invoke-virtual {p1, p2}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result p2

    if-eqz p2, :cond_0

    .line 8
    new-instance p2, Ljava/lang/StringBuilder;

    invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p1, "*"

    invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    goto :goto_0

    .line 9
    :cond_0
    new-instance p2, Ljava/lang/StringBuilder;

    invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p1, "/*"

    invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    .line 10
    :goto_0
    invoke-static {}, Les/p10;->e()Les/p10;

    move-result-object p2

    invoke-virtual {p2, p1}, Les/p10;->a(Ljava/lang/String;)V

    .line 11
    :cond_1
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object p1

    const p2, 0x7f110873

    invoke-static {p1, p2, p4}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    goto :goto_1

    :cond_2
    if-gez p2, :cond_3

    .line 12
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object p1

    const p2, 0x7f110870

    invoke-static {p1, p2, p4}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    .line 13
    :cond_3
    :goto_1
    invoke-interface {p3}, Landroid/content/DialogInterface;->dismiss()V

    return-void
.end method

.method public synthetic a(Ljava/lang/String;Landroid/widget/EditText;Landroid/view/View;)V
    .locals 3

    .line 15
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object p3

    invoke-virtual {p3}, Lcom/estrongs/android/pop/l;->k1()Z

    move-result p3

    .line 16
    new-instance v0, Lcom/estrongs/android/ui/preference/fragments/r;

    invoke-direct {v0, p3}, Lcom/estrongs/android/ui/preference/fragments/r;-><init>(Z)V

    .line 17
    sget-boolean p3, Lcom/estrongs/android/pop/j;->n:Z

    if-eqz p3, :cond_0

    const/4 p3, -0x2

    goto :goto_0

    :cond_0
    const/4 p3, -0x1

    .line 18
    :goto_0
    new-instance v1, Lcom/estrongs/android/widget/c;

    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v2

    if-nez p1, :cond_1

    .line 19
    invoke-static {}, Lcom/estrongs/android/pop/c;->b()Ljava/lang/String;

    move-result-object p1

    :cond_1
    invoke-direct {v1, v2, p1, v0, p3}, Lcom/estrongs/android/widget/c;-><init>(Landroid/content/Context;Ljava/lang/String;Lcom/estrongs/fs/h;I)V

    const p1, 0x7f11006a

    .line 20
    invoke-virtual {p0, p1}, Landroidx/fragment/app/Fragment;->getText(I)Ljava/lang/CharSequence;

    move-result-object p1

    invoke-virtual {v1, p1}, Lcom/estrongs/android/widget/c;->a(Ljava/lang/CharSequence;)V

    const p1, 0x7f11029e

    .line 21
    invoke-virtual {p0, p1}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;

    move-result-object p1

    new-instance p3, Lcom/estrongs/android/ui/preference/fragments/v;

    invoke-direct {p3, v1, p2}, Lcom/estrongs/android/ui/preference/fragments/v;-><init>(Lcom/estrongs/android/widget/c;Landroid/widget/EditText;)V

    invoke-virtual {v1, p1, p3}, Lcom/estrongs/android/widget/c;->b(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    const p1, 0x7f110299

    .line 22
    invoke-virtual {p0, p1}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;

    move-result-object p1

    new-instance p2, Lcom/estrongs/android/ui/preference/fragments/l;

    invoke-direct {p2, v1}, Lcom/estrongs/android/ui/preference/fragments/l;-><init>(Lcom/estrongs/android/widget/c;)V

    invoke-virtual {v1, p1, p2}, Lcom/estrongs/android/widget/c;->a(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 23
    invoke-virtual {v1}, Lcom/estrongs/android/widget/c;->n()V

    return-void
.end method

.method public synthetic a(Landroidx/preference/Preference;)Z
    .locals 5

    .line 27
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object p1

    const v0, 0x7f0c0079

    const/4 v1, 0x0

    .line 28
    invoke-virtual {p1, v0, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p1

    const v0, 0x7f09017a

    .line 29
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    const v1, 0x7f09017b

    .line 30
    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/EditText;

    .line 31
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v2

    invoke-virtual {v2}, Lcom/estrongs/android/pop/l;->N()Ljava/lang/String;

    move-result-object v2

    .line 32
    invoke-virtual {v1, v2}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    const v2, 0x7f09017e

    .line 33
    invoke-virtual {p1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/EditText;

    const v3, 0x7f09017c

    .line 34
    invoke-virtual {p1, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    const v4, 0x7f1101be

    .line 35
    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(I)V

    const v3, 0x7f090180

    .line 36
    invoke-virtual {p1, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    const v4, 0x7f1101bd

    .line 37
    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(I)V

    .line 38
    new-instance v3, Lcom/estrongs/android/ui/dialog/q$n;

    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v4

    invoke-direct {v3, v4}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    const v4, 0x7f110065

    .line 39
    invoke-virtual {v3, v4}, Lcom/estrongs/android/ui/dialog/q$n;->b(I)Lcom/estrongs/android/ui/dialog/q$n;

    new-instance v4, Lcom/estrongs/android/ui/preference/fragments/m;

    invoke-direct {v4, p0, v1, v2}, Lcom/estrongs/android/ui/preference/fragments/m;-><init>(Lcom/estrongs/android/ui/preference/fragments/BackupPreferenceFragment;Landroid/widget/EditText;Landroid/widget/EditText;)V

    const v2, 0x7f11029e

    .line 40
    invoke-virtual {v3, v2, v4}, Lcom/estrongs/android/ui/dialog/q$n;->b(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    sget-object v2, Lcom/estrongs/android/ui/preference/fragments/t;->a:Lcom/estrongs/android/ui/preference/fragments/t;

    const v4, 0x7f110299

    .line 41
    invoke-virtual {v3, v4, v2}, Lcom/estrongs/android/ui/dialog/q$n;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 42
    new-instance v2, Lcom/estrongs/android/ui/preference/fragments/k;

    invoke-direct {v2, p0, v1}, Lcom/estrongs/android/ui/preference/fragments/k;-><init>(Lcom/estrongs/android/ui/preference/fragments/BackupPreferenceFragment;Landroid/widget/EditText;)V

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 43
    invoke-virtual {v3}, Lcom/estrongs/android/ui/dialog/q$n;->a()Lcom/estrongs/android/ui/dialog/q;

    move-result-object v0

    .line 44
    invoke-virtual {v0, p1}, Lcom/estrongs/android/ui/dialog/q;->setContentView(Landroid/view/View;)V

    .line 45
    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q;->show()V

    const/4 p1, 0x1

    return p1
.end method

.method public synthetic b()V
    .locals 3

    .line 34
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v0

    const-string v1, "restoresettings"

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lcom/estrongs/android/pop/FexApplication;->a(Ljava/lang/String;Ljava/lang/Object;)V

    .line 35
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Activity;->finish()V

    return-void
.end method

.method public synthetic b(Landroid/widget/EditText;Landroid/widget/EditText;Landroid/content/DialogInterface;I)V
    .locals 1

    .line 23
    invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    .line 24
    invoke-virtual {p2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p2

    invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p2

    .line 25
    new-instance p4, Lcom/estrongs/android/util/l0;

    invoke-direct {p4}, Lcom/estrongs/android/util/l0;-><init>()V

    .line 26
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    invoke-virtual {p4, v0, p1, p2}, Lcom/estrongs/android/util/l0;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)I

    move-result p1

    const/4 p2, -0x3

    const/4 p4, 0x1

    if-eq p1, p2, :cond_2

    const/4 p2, -0x2

    if-eq p1, p2, :cond_1

    if-eqz p1, :cond_0

    .line 27
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object p1

    const p2, 0x7f110874

    invoke-static {p1, p2, p4}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    goto :goto_0

    .line 28
    :cond_0
    invoke-static {}, Les/p10;->e()Les/p10;

    move-result-object p1

    const-string p2, "net://*"

    invoke-virtual {p1, p2}, Les/p10;->a(Ljava/lang/String;)V

    .line 29
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object p1

    const p2, 0x7f110875

    invoke-static {p1, p2, p4}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    .line 30
    iget-object p1, p0, Lcom/estrongs/android/ui/preference/fragments/BackupPreferenceFragment;->a:Landroid/os/Handler;

    new-instance p2, Lcom/estrongs/android/ui/preference/fragments/o;

    invoke-direct {p2, p0}, Lcom/estrongs/android/ui/preference/fragments/o;-><init>(Lcom/estrongs/android/ui/preference/fragments/BackupPreferenceFragment;)V

    invoke-virtual {p1, p2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    goto :goto_0

    .line 31
    :cond_1
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object p1

    const p2, 0x7f110872

    invoke-static {p1, p2, p4}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    goto :goto_0

    .line 32
    :cond_2
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object p1

    const p2, 0x7f110871

    invoke-static {p1, p2, p4}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    .line 33
    :goto_0
    invoke-interface {p3}, Landroid/content/DialogInterface;->dismiss()V

    return-void
.end method

.method public synthetic b(Landroidx/preference/Preference;)Z
    .locals 7

    .line 1
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object p1

    const v0, 0x7f0c0079

    const/4 v1, 0x0

    .line 2
    invoke-virtual {p1, v0, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p1

    const v0, 0x7f09017a

    .line 3
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    const v1, 0x7f09017b

    .line 4
    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/EditText;

    const v2, 0x7f09017e

    .line 5
    invoke-virtual {p1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/EditText;

    const v3, 0x7f09017c

    .line 6
    invoke-virtual {p1, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    const v4, 0x7f1101bf

    .line 7
    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(I)V

    const v3, 0x7f090180

    .line 8
    invoke-virtual {p1, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    const v4, 0x7f1101bd

    .line 9
    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(I)V

    .line 10
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v3

    invoke-virtual {v3}, Lcom/estrongs/android/pop/l;->N()Ljava/lang/String;

    move-result-object v3

    .line 11
    invoke-static {v3}, Lcom/estrongs/android/util/h0;->M(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    if-eqz v3, :cond_0

    .line 12
    invoke-virtual {v1, v3}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 13
    :cond_0
    new-instance v4, Lcom/estrongs/android/ui/dialog/q$n;

    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v5

    invoke-direct {v4, v5}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    const v5, 0x7f11002d

    .line 14
    invoke-virtual {v4, v5}, Lcom/estrongs/android/ui/dialog/q$n;->b(I)Lcom/estrongs/android/ui/dialog/q$n;

    const v5, 0x7f11029e

    new-instance v6, Lcom/estrongs/android/ui/preference/fragments/y;

    invoke-direct {v6, p0, v1, v2}, Lcom/estrongs/android/ui/preference/fragments/y;-><init>(Lcom/estrongs/android/ui/preference/fragments/BackupPreferenceFragment;Landroid/widget/EditText;Landroid/widget/EditText;)V

    .line 15
    invoke-virtual {v4, v5, v6}, Lcom/estrongs/android/ui/dialog/q$n;->b(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    const v2, 0x7f110299

    sget-object v5, Lcom/estrongs/android/ui/preference/fragments/s;->a:Lcom/estrongs/android/ui/preference/fragments/s;

    .line 16
    invoke-virtual {v4, v2, v5}, Lcom/estrongs/android/ui/dialog/q$n;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 17
    new-instance v2, Lcom/estrongs/android/ui/preference/fragments/p;

    invoke-direct {v2, p0, v3, v1}, Lcom/estrongs/android/ui/preference/fragments/p;-><init>(Lcom/estrongs/android/ui/preference/fragments/BackupPreferenceFragment;Ljava/lang/String;Landroid/widget/EditText;)V

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 18
    invoke-virtual {v4}, Lcom/estrongs/android/ui/dialog/q$n;->a()Lcom/estrongs/android/ui/dialog/q;

    move-result-object v0

    .line 19
    invoke-virtual {v0, p1}, Lcom/estrongs/android/ui/dialog/q;->setContentView(Landroid/view/View;)V

    .line 20
    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q;->show()V

    const/4 p1, 0x1

    return p1
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 0

    .line 1
    invoke-super {p0, p1}, Landroidx/preference/PreferenceFragmentCompat;->onCreate(Landroid/os/Bundle;)V

    .line 2
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/android/ui/preference/TabletSettingsActivity;->b(Landroid/content/Context;)Z

    move-result p1

    if-eqz p1, :cond_0

    const p1, 0x7f140020

    .line 3
    invoke-virtual {p0, p1}, Lcom/estrongs/android/pop/esclasses/ESPreferenceFragment;->addPreferencesFromResource(I)V

    goto :goto_0

    :cond_0
    const p1, 0x7f140012

    .line 4
    invoke-virtual {p0, p1}, Lcom/estrongs/android/pop/esclasses/ESPreferenceFragment;->addPreferencesFromResource(I)V

    .line 5
    :goto_0
    invoke-direct {p0}, Lcom/estrongs/android/ui/preference/fragments/BackupPreferenceFragment;->d()V

    return-void
.end method
